package com.itheima.Jiuye16;

public class ReflectDemo {
    public static void main(String[] args) throws ClassNotFoundException {
        //全类名
        Class Class1 = Class.forName("com.itheima.Jiuye16.Student");
        System.out.println(Class1);
        //通过Class
        Class aClass = Student.class;
        System.out.println(aClass);

        Student student = new Student();
        Class aClass1 = student.getClass();
        System.out.println(aClass1);
    }
}
